const Time: AuthRoute.Route = {
  name: 'time',
  path: '/time',
  component: 'basic',
  children: [
    {
      name: 'time_record',
      path: '/time/record',
      component: 'self',
      meta: {
        title: '时间记录',
        requiresAuth: true,
        permissions: ['super', 'admin', 'user'],
        icon: 'ic:sharp-timer'
      }
    },
    {
      name: 'time_display',
      path: '/time/display',
      component: 'self',
      meta: {
        title: '时间展示',
        requiresAuth: true,
        permissions: ['super', 'admin', 'user'],
        icon: 'icon-park-outline:analysis'
      }
    }
  ],
  meta: {
    title: '时间记录',
    icon: 'mdi:monitor-dashboard',
    order: 1
  }
};

export default Time;
